package June12;

public class Engine {
	String brand;
	String power;
	String weight;
	String displacement;

	public void show() {
		System.out.println("发动机的品牌是：" + brand + ",多少马力：" + power + ",重量为：" + weight + "，排量为：" + displacement);
	}

	public void work1() {
		System.out.println("正在压缩空气···");
	}

	public void work2() {
		System.out.println("正在雾化汽油···");
	}

	public void work3() {
		System.out.println("正在点火···");
	}

	public void work4() {
		System.out.println("正在排废烟···");
	}
}
